<?php

    class CErrorCode {

       public static $NO_ERROR = 0;
       public static $AUTH_NOT_ALLOWED = 1;     //权限错误
       public static $CUSTOMIZE_ERROR = 2;      //自定义错误,一般指后面errorMsg有内容的错误
       public static $LOGIN_ACCOUNT_ERROR = 3;      //用户登录错误
       public static $LOGIN_USERNAME_LENGTH_ERROR = 4;      //用户名长度
       public static $LOGIN_PASSWORD_LENGTH_ERROR = 5;      //密码长度
    }
